<?php
require_once "INews.php";

class MyNews implements INews
{
    public function editNews(int $newsId)
    {
        echo "编辑新闻,id=$newsId";
    }
    public function delNews(int $newsId)
    {
        echo "删除新闻,id=$newsId";
    }
}